package factory;

/**
 * 具体工厂A，用于创建ProductA
 */
public class ConcreteFactoryA implements Factory {
    @Override
    public Product createProduct() {
        return new ConcreteProductA();
    }

}